package com.victualler.product.goods.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.victualler.core.base.dao.BaseDetailDao;

import javax.persistence.Table;
import javax.persistence.Entity;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author: Guoshichang
 * @Date: Create in 11:02 ${Date}
 * @Discription: 商品的类型
 */
@Entity
@Table(name="goods_model_detail")
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler" })
public class GoodsModelDetailDao extends BaseDetailDao implements Serializable {
    //图片id
    private Long imgId;
    //型号名称
    private String name;
    //计量单位(类型id)
    private Long specId;
    //计量单位(类型name)
    private String specName;
    //外形类型(类型id)
    private Long contourId;
    //外形类型(类型name)
    private String contourName;
    //重量
    private BigDecimal size;
    //净重(去皮)
    private BigDecimal realSize;
    //条形码
    private String barCode;

    public Long getImgId() {
        return imgId;
    }

    public void setImgId(Long imgId) {
        this.imgId = imgId;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getSpecId() {
        return specId;
    }

    public void setSpecId(Long specId) {
        this.specId = specId;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public Long getContourId() {
        return contourId;
    }

    public void setContourId(Long contourId) {
        this.contourId = contourId;
    }

    public String getContourName() {
        return contourName;
    }

    public void setContourName(String contourName) {
        this.contourName = contourName;
    }

    public BigDecimal getSize() {
        return size;
    }

    public void setSize(BigDecimal size) {
        this.size = size;
    }

    public BigDecimal getRealSize() {
        return realSize;
    }

    public void setRealSize(BigDecimal realSize) {
        this.realSize = realSize;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }
}
